Operator-pending mode for text objects in Readme#68
Operator-pending mode for text objects in Readme#68seb-mueller wants to merge 1 commit intoKonfekt:masterfrom
Conversation
Text object definition should be using Operator-pending mode (omap) rather than xmap. Also prefixed Update seems to break motions (e.g. `diz` or `>iz` didn't work, but does after removing prefix as in this PR)
|
Thank you for the suggestion and agreed that the operator-pending mappings are missing. Their definition given here should update the folds first, like the visual-mode mappings. It is missing as my naive tries did not succeed. |
|
Indeed, I've tried it including the update fold first (prefixing |
|
Okay, these operator-maps can be readded (on top of the visual-mode mappings), but they would be more pertinent if they achieved updating the folds before. |
Text object definition should be using Operator-pending mode (omap) rather than xmap.
Also prefixed Update seems to break motions (e.g.
dizor>izdidn't work, but does after removing prefix as in this PR)